package com.hmdp.utils;

public interface SimpleLock {

    /**
     * 获取锁
     * @param time
     * @return
     */
    public Boolean tryLock(Long time);

    /**
     * 释放锁
     */
    public void unlock();
}
